package com.student.score.entity;

public class Course {
    private String id;     // 课程编号
    private String name;   // 课程名称
    private int credit;    // 学分

    public Course(String id, String name, int credit) {
        this.id = id;
        this.name = name;
        this.credit = credit;
    }

    public String getId() { return id; }
    public String getName() { return name; }
    public int getCredit() { return credit; }
}